<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>图片列表</title>
    <style>
        * {
            padding: 0px;
            margin: 0px;
        }

        tr > td {
            padding: 10px;
        }

        #divv {
            width: 500px;
            height: 800px;
            margin: 0 auto;
        }

        ul li {
            padding-bottom: 10px;
            margin: 10px;
            float: left;
            list-style: none;
        }

        a {
            text-decoration: none;
        }
    </style>
</head>
<body>
<div id="divv">
    <h2>图片分页列表</h2>
    <table border='1' style="border-collapse: collapse;">
        <tr>
            <th>序列</th>
            <th>图片显示</th>
        </tr>
        @foreach($img as  $v )
            <tr>
                <td>家居美图</td>
                <td><img width="200px" height="100px" src="{{$v->img}}" alt=""></td>
            </tr>
        @endforeach
    </table>

    {!! $img -> render() !!}
    <br><a href="/form">返回继续上传</a>
</div>

</body>
</html>
